﻿using AntDesign;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
using Volo.Abp.AspNetCore.Components;
using Volo.Abp.UI.Navigation;
using System;
using System.Text.Json;
using AntDesign.ProLayout;
using System.Threading.Tasks;
using System.Collections.Generic;
using ERP.Localization;
using Microsoft.JSInterop;
using Microsoft.Extensions.Options;
using Microsoft.AspNetCore.Components.Authorization;
using ERP.BlazorWams.Menus;
using ERP.Abp.AntDesignUI;

namespace ERP.Blazor;

public abstract partial class ERPComponentBase :  AntPageBase 
{
    [Inject] protected IJSRuntime IJSRuntime { get; set; }
    [Inject] protected IOptions<ProSettings> ProSettings { get; set; }
    [Inject] protected AuthenticationStateProvider AuthenticationStateProvider { get; set; }    
    protected ERPComponentBase()
    {
        LocalizationResource = typeof(ERPResource);
    }
}
